<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/common/includes.jsp" %>

<html>

 <head>
    
    <title>其他入库管理</title>
    <!-- import css and js -->
	<%@ include file="/common/meta.jsp" %>

		<script src="${ctx}/js/jsp/comm.js" type="text/javascript"></script>
    	<script type="text/javascript" src="${ctx}/js/jsp/yd/logic/otherinwh.js"></script>
	<script type="text/javascript">
		var basic_Url="${ctx}/yd/logic/otherInwh";
		var basic_WUrl="yd/logic/otherInwh";
		var basic_Title="其他入库管理";
		var show_Width=950;
		var show_Hight=400;
		var user='${user.name}';
		function createSearch(){
			init(1,8,'100,100,100,100,100,100,100,100','25%');
			//第一行的数据
			addCommon(0,0,"lable","入库单号");
			addCommon(0,1,"txtlike","other_code");
			addCommon(0,2,"lable","入库仓库：");
			addCommon(0,3,"selectEnum","wh_code","<option></option><c:forEach var="s" items="${wh}"><option value='${s.code}'>${s.name}</option></c:forEach>");
			addCommon(0,4,"lable","制单人");
			addCommon(0,5,"txtlike","aegnt");
			addCommon(0,6,"lable","单据状态：");
			addCommon(0,7,"selectEnum","bill_status","<option></option><option value='1'>草稿</option>"+
					"<option value='2'>审批中</option><option value='3'>完成</option>");
		}
		function searchAP(){			
			multipleSearch("#table1",true,"",basic_Url+"/list.do");
		}

	</script>
  </head>
<body onLoad="createSearch()">
   <div id="layout1">
      <div position="top">
          <div class="panelBar">
	           <ul class="toolBar">
	             
		           <li><a class="add" onclick="add()">
		           <span>添加</span></a></li>
				   <li><a class="delete" onclick="checkdel()"><span>删除</span></a></li>
               </ul>
          </div>
          <div id="pageHeader" class="pageHeader">
               <div class="searchBar" id="multipleSearchDialog">
	                <table class="table" width="100%" id="searchHeader" >  
                        <tbody id="newbody">
                        </tbody>
 	                </table>
                    <div class="subBar">
			             <ul>
				             <li><div class="buttonActive"><div class="buttonContent"><button type="submit" id="btnSearch" onclick="searchAP()">查询</button></div></div></li>
				             <li><a class="button" onclick="clearSearch()"><span>重置</span></a></li>
			             </ul>
	                </div>
               </div>
          </div>
      </div>
      <div position="center" id="table1">
      </div>
      <div class="clear"></div>
   </div>
 
</body>
</html>